import { PluginConfig } from './plugin-config';
import { PluginAttributeConfig } from './plugin-attribute-config';

/**
 * 插件
 */
export class BasePlugin {
  id: string;
  name: string;
  /** 插件显示的名称 */
  displayName: string;
  order: number;
  isEnabled: boolean;
  isInstalled: boolean;
  /** 插件配置 */
  config: PluginConfig;
  /** 扩展属性配置 */
  attributeConfigs: PluginAttributeConfig[];
}